﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PayPal.aspx.cs" Inherits="PayPal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body onload="document.forms['PayPal'].submit();">
<form name="PayPal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_ext-enter">
<input type="hidden" name="redirect_cmd" value="_xclick">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="business" value="<%= ShopModel.Settings.PayPalEmail %>">
<input type="hidden" name="item_name" value="Zamowienie ID<%= order.IDRealization%>"/>
<input type="hidden" name="amount" value="<%= amount %>"/>
<input type="hidden" name="first_name" value="<%= order.iCustomer.FirstName %>"/>
<input type="hidden" name="last_name" value="<%= order.iCustomer.Surname %>"/>
<input type="hidden" name="address1" value="<%= order.iCustomer.Street  %>"/>
<input type="hidden" name="city" value="<%= order.iCustomer.City %>"/>
<input type="hidden" name="zip" value="<%= order.iCustomer.ZipCode %>"/>
<input type="hidden" name="return" value="<%= ShopUrl %>"/>
<input type="hidden" name="cancel_return" value="<%= ShopUrlR %>"/>
<input type="hidden" name="lc" value="USA"/>
<input type="hidden" name="charset" value="utf-8"/>
<input type="hidden" name="notify_url" value="<%=Notify %>"/>
</form>
</body>
</html>
